package com.hc.summary.activity;

import androidx.appcompat.app.AppCompatActivity;
import androidx.databinding.DataBindingUtil;

import android.os.Bundle;

import com.hc.summary.R;
import com.hc.summary.bean.User;
import com.hc.summary.databinding.ActivitySecBinding;

public class SecActivity extends AppCompatActivity {
    ActivitySecBinding binding;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        binding = DataBindingUtil.setContentView(this, R.layout.activity_sec);
        binding.setUser(new User("zhangsan",18));
    }
}